package com.example.treasure_back.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class AliOSSConfig {
    @Value("${oss.access.key.id}")
    public String ACCESS_KEY_ID;
    @Value("${oss.access.key.secret}")
    public String ACCESS_KEY_SECRET;
    @Value("${oss.endpoint}")
    public String ENDPOINT;
    @Value("${oss.object.bucket}")
    public String BUCKET;
    @Value("${oss.object.avatar}")
    public String AVATAR_PATH;
    @Value("${oss.object.train}")
    public String TRAIN_PATH;
    @Value("${oss.object.point}")
    public String POINT_PATH;
    @Value("${oss.object.path}")
    public String PATH;
}
